﻿<?xml version="1.0" encoding="utf-8"?>
<List xmlns:ows="Microsoft SharePoint" Title="Likes" FolderCreation="FALSE" Direction="$Resources:Direction;" Url="Lists/Likes" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/">
  <MetaData>
    <ContentTypes>
      <ContentType ID="0x01A4D14E3F44314968A9A5143693FCF0F4" Name="Likes" Group="Portal" Inherits="FALSE" Overwrite="TRUE" Version="0">
        <FieldRefs>
          <FieldRef ID="{312255AB-4A20-4245-90AD-D763AF4C0F70}" Name="Title" Required="TRUE" DisplayName="Title"/>
          <FieldRef ID="{A0B85BA1-3C46-4438-8D79-9B527BDDE3F5}" Name="LinkTitle" DisplayName="LinkTitle"/>
          <FieldRef ID="{124EE283-BCF9-4905-BDCE-8522C98B1938}" Name="LinkTitleNoMenu" DisplayName="LinkTitleNoMenu"/>
          <FieldRef ID="{C9AB844B-E604-42AB-8FDA-E278166A03B6}" Name="LikeID" DisplayName="LikeID"/>
          <FieldRef ID="{22EC759F-1AF0-4D2F-90A4-C8A6F1657613}" Name="Liker" DisplayName="Liker"/>
        </FieldRefs>

      </ContentType>

    </ContentTypes>

    <Fields>
      <Field ID="{312255AB-4A20-4245-90AD-D763AF4C0F70}" Type="Text" Name="Title" DisplayName="Title" Required="TRUE" Indexed="TRUE"></Field>
      <Field ID="{C9AB844B-E604-42AB-8FDA-E278166A03B6}" Type="Lookup" Group="Portal"  Name="LikeID" ShowInEditForm="TRUE" ShowInNewForm="TRUE" DisplayName="LikeID" List="Lists/AllPosts" ShowField="ID"></Field>
      <Field ID="{22EC759F-1AF0-4D2F-90A4-C8A6F1657613}" Type="User" Name="Liker" DisplayName="Liker"></Field>
    </Fields>
    <Views>
      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
          <FieldRef Name="LikeID"></FieldRef>
          <FieldRef Name="Liker"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main" DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE" MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/15/images/generic.png?rev=23" Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <JSLink>clienttemplates.js</JSLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>
          <FieldRef Name="LinkTitle"></FieldRef>
          <FieldRef Name="LikeID"></FieldRef>
          <FieldRef Name="Liker"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>
            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>